Commit Graph

47 Commits

Author SHA1 Message Date
Ryan Dortmans afef064bbc Xbox: 0 is a valid socket number 2004-10-28 07:54:49 +00:00
Charles Lohr 242f2b4885 Fixed 2 occourances of -1 insted of 0 causing a small issue. 2004-10-28 01:03:57 +00:00
Ryan Dortmans 536fc4fe3a Fixed Xbox implementation 2004-10-27 07:25:36 +00:00
Josh Allen a1d5bbb321 Removed = operator. Fixed method of obtaining address. 2004-09-12 15:20:45 +00:00
Josh Allen 404fbf6c6b Added method for obtaining in_addr 2004-09-11 17:13:44 +00:00
Josh Allen f81e2c908f Added = operator 2004-09-11 15:11:06 +00:00
Steve Checkoway dbbf9497cd Fix connect. Just about everything has gethostbyname. It is not thread safe and probably should not be used in general; however, it is fine here. 2004-09-08 08:06:35 +00:00
Steve Checkoway 85e28b0432 Cleanup. 2004-09-06 21:02:55 +00:00
Charles Lohr bc628082ba Added some code to help figure out errors. 2004-09-06 18:20:16 +00:00
Charles Lohr 08915de430 Performance increase: Send size and actual packet at once. This causes about 40% less total packets to be sent. 2004-08-28 21:33:22 +00:00
Charles Lohr c547fa8ebd FIX: Core dump on failed name lookup. 2004-08-18 00:44:56 +00:00
Steve Checkoway 31e646cd30 Fix indentation. 2004-08-14 05:59:26 +00:00
Steve Checkoway 9946dcd335 Cleanup, fix style, const fix. 2004-08-14 05:57:11 +00:00
Josh Allen 5f2c703514 Fixed a bug in pUpdateRead(). Now it can actually detect (again) if the socket was closed on the other side. 2004-08-12 19:32:39 +00:00
Charles Lohr 0d4dde7dcd Fixed part of the XBOX problem.
XTL needs to be included somewhre, but I don't know the details.
Renaud, if you could just include that in whever it is necessiary.
2004-07-20 04:07:06 +00:00
Adam Lowman e9327c9bb8 Fixed nonblocking bug for accept function.
Joshua Allen on Adam's CVS account.  My account is still broken.
2004-07-18 23:37:48 +00:00
Charles Lohr 5e17b292eb Fixed crash if waiting for data and disconnected. 2004-07-18 17:16:02 +00:00
Adam Lowman c2f3a60ebb Non-Blocking Update Crash Fix 2004-07-14 06:38:11 +00:00
Charles Lohr 4d6409ebaf Fixed connect. 2004-07-12 16:06:33 +00:00
Sean Burke cd28963501 Fix Linux compile. 2004-07-12 07:24:03 +00:00
Glenn Maynard 1bbe0246f7 revert formatting change 2004-07-11 18:49:21 +00:00
Adam Lowman 185a528534 UDP Support 2004-07-11 15:52:46 +00:00
Glenn Maynard e7894a86c7 fix warning 2004-07-07 19:18:26 +00:00
Steve Checkoway 3ef81e2510 Fix memory leak. (Is there a reason to make those pointers rather than just use &?). connect(2) returns 0 on success. select(2) returns the number of descriptors that can be read/written/have OOB data (which is about all that error field is used for). It returns -1 on error. Also, a little style cleanup to make it fit with the rest of SM. 2004-07-04 21:30:49 +00:00
Charles Lohr f12a8ea8e6 Fixed two little bugs regarding server connecting client. 2004-07-04 06:30:16 +00:00
Charles Lohr 34075a1162 Fixed some bugs dealing with non-blocking sockets 2004-07-04 05:03:44 +00:00
Charles Lohr 8c1012533c Fixed some bugs. 2004-07-01 18:41:04 +00:00
Charles Lohr 4428ede624 Fixed net-order stuff, and readpack function. 2004-06-30 07:16:08 +00:00
Glenn Maynard bcc6ad83a7 fix compile 2004-06-16 02:38:15 +00:00
Chris Danford b2cf196d74 fixing Xbox compile errors 2004-06-15 06:24:58 +00:00
Thad Ward 4adbb7e2c6 only pull in some headers on non-windows platforms. 2004-06-14 12:45:51 +00:00
Steve Checkoway 2cee3eddc1 unused headers 2004-06-14 12:44:04 +00:00
Steve Checkoway 1f1a120d9e Header cleanup 2004-06-14 12:41:02 +00:00
Thad Ward 1c46a4880f global.h must be included before anything else. it sets up such things as
disabling stupid warnings for some archs.
2004-06-14 11:10:53 +00:00
Fred Wulff b3470b32ed Fixed Linux compile issue (lib conflict) 2004-06-14 03:47:42 +00:00
Glenn Maynard f777151256 license update; removed old "license" to avoid confusion 2004-05-25 04:26:46 +00:00
Glenn Maynard 8b6fb0b720 include global.h in all files
remove unneeded headers
fix warnings
2004-05-24 19:38:22 +00:00
Charles Lohr 7729bf48b7 New version of ezsockets for future network features. 2004-05-24 13:59:05 +00:00
Steve Checkoway 6702cfeba9 add DARWIN 2004-04-06 07:23:36 +00:00
Glenn Maynard 673dfb6b75 fix warnings 2004-04-05 22:43:16 +00:00
Charles Lohr 6b8f53f4cb ezsockets resynced to match our current version we're using for the server. 2004-04-05 15:43:33 +00:00
Sean Burke 89a316061d Fix Linux compile and try to make code stylistically consistent. 2004-03-17 22:17:51 +00:00
Steve Checkoway 45c4577df2 Clean up 2004-03-17 13:31:42 +00:00
Chris Danford 36b557bac2 fix Win32 errors, warnings 2004-03-17 07:45:52 +00:00
Kevin Slaughter 21bdb2204c Fix to ezSockets casting. -- Matriark 2004-03-17 06:57:29 +00:00
Steve Checkoway 858ab01ae9 Clean up NetworkSyncManager 2004-03-17 06:05:52 +00:00
Charles Lohr 4af6c609f9 These are the files necessiary for making the network work. 2004-03-16 22:34:48 +00:00