.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
TCP Socket and BSD
Old
  (#1)
BAStumm
Member
 
BAStumm's Avatar
 
Status: Offline
Posts: 138
Join Date: Jan 2004
Location: Spokane, WA USA
Default TCP Socket and BSD - 26-02-2004

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.






  
Reply With Quote
Re: TCP Socket and BSD
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: TCP Socket and BSD - 26-02-2004

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com