
23 Feb
2001
23 Feb
'01
6:41 a.m.
administrator@DEFAULT /cygdrive/d/dom/home/socketTest $ ./server1 8000
Fail: does not exist Action: getProtocolByName Reason: no such protocol entry
Just from looking at the manpage for getprotobyname, I surmise that the problem is that you don't have an /etc/protocols file (or equivalent) under Windows. I'm not sure what's supposed to happen (or for that matter, what's supposed to work). Look in hslibs/net/BSD.lhs; I couldn't work out what was going on in a minute; perhaps someone else knows. The other thing I couldn't work out was where getProtocolByName was being called in the first place, but presumably it's to find the protocol number of tcp. -- http://sc3d.org/rrt/ | Slow Pedestrian Crossing
8854
Age (days ago)
8854
Last active (days ago)
0 comments
1 participants
participants (1)
-
Reuben Thomas