![]() |
TCP Socket and BSD
Anyone here have much knowledge on TCP Sockets? I am using a TCP Socket in my metamod plugin and it works just fine in linux and windows. But peeps using BSD (linux compat mode) are experiencing crashing. I dont get it, why would BSD when in linux compat mode cause crashing when linux itself works fine? Any ideas?
The socket binds fine, accepts connections fine, spits data fine, detects disconnects fine. The socket allows 10 simultaneous clients. So typically it sees avail ports go 10, 9, 8, 7, 6, 5, 6, 5, 6, 7, crash... I know thats not alot to go on. But I figure perhaps I'm missing something obviouis or specific to BSD. |
Re: TCP Socket and BSD
I think you would have more chances of getting an explanation on usenet, in the developer groups who make use of BSD. Try "comp.os.bsd" or something like that.
AFAIK, BSD can use Unix domain sockets (POSIX) just like Linux ; the main difference is that it's the standard TCP socket method for Linux whereas BSD uses a BSD-specific socket layer, more robust and efficient. But the UNIX domain sockets do work fine too, so I think if it crashes with BSD and not with Linux it might rather be a problem with the Linux emulation... else you've done something really wrong, but I'm not a guru in these matters. |
All times are GMT +2. The time now is 00:55. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.