Skip to content
Tcl Source Code Artifact [033d27c1d8]
Login

Artifact [033d27c1d8]

Artifact 033d27c1d82f9c479946196a36e18470b6793e13:

Ticket change [033d27c1d8] - New ticket [561301ffffffffff|561301ffff] <i>#define layering in tclWinSock.c</i>. by davygrvy on 2002-05-28 00:27:06.
D 2002-05-28T00:27:06
J assignee andreas_kupries
J cmimetype text/plain
J comment win/tclWinPort.h\ssets\sthe\sfollowing\sdefines:\n\n/*\n\s*\sThe\sfollowing\sdefines\smap\sfrom\sstandard\ssocket\s\nnames\sto\sour\sinternal\n\s*\swrappers\sthat\sredirect\sthrough\sthe\swinSock\sfunction\s\ntable\s(see\sthe\n\s*\sfile\stclWinSock.c).\n\s*/\n\n#define\sgetservbynameTclWinGetServByName\n#define\sgetsockoptTclWinGetSockOpt\n#define\sntohsTclWinNToHS\n#define\ssetsockoptTclWinSetSockOpt\n\n\nThese\sare\snot\sundefined\swhen\sbuilding\stclWinSock.c,\sso\s\nthe\swinSock\sfunction\stable\s(internally)\shas\s\nwinSock.TclWinNToHS\sfor\swhat\sshould\sbe\s\nwinSock.ntohs\sas\sthe\ssymbol\sname.\s\sThis\sisn't\scausing\s\nany\sconfusion\sas\sTclWinNToHS()\scalls\s\nwinSock.TclWinNToHS,\sbut\sisn't\sa\sgood\sway\sof\sdoing\s\nthings\sand\sisn't\swhat\swas\smeant\sto\shappen.\n\nReminds\sme\sof\sthe\s#define\spanic\sin\stcl.h\sthat\scauses\s\nproblems\sin\sBerkeley\sDB\sas\sit\suses\spanic\sin\sa\sstructure\s\nname,\sand\shas\scaused\sa\swhole\smess\sof\sproblems\sfor\s\nme\sin\sthe\spast.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter davygrvy
J subsystem 25.\sChannel\sSystem
J title #define\slayering\sin\stclWinSock.c
J type Patch
K 561301ffffffffffffffffffffffffffffffffff
U davygrvy
Z a4343c965957cdeb5503914f9ecccca0