masta
e370303fda
Add unsigned versions of ntohl and htonl
...
All systems i know of define ntohl and htonl to use unsigned 32bit
types. To keep backward compatibility for now I've added overloaded
versions so the impact on existing code is a small as possible. But I've
marked the signed versions as deprecated.
The code will now also use SwapEndian which is available as optimized
versions on some platforms.
git-svn-id: trunk@22994 -
2012-11-16 12:37:07 +00:00
Jonas Maebe
b5494c534c
* handle EsockEINTR for fpaccept and fpconnect
...
git-svn-id: trunk@12939 -
2009-03-21 16:11:08 +00:00
yury
62e616cae0
* Fixed warnings. rtl is warnings and notes free for wince and win32 again.
...
git-svn-id: trunk@10632 -
2008-04-12 13:34:26 +00:00
yury
203939b9a5
* Don't use deprecated functions.
...
git-svn-id: trunk@9539 -
2007-12-26 17:10:53 +00:00
marco
b846f2596e
* Fix for 9220 for socket2text stuff too
...
git-svn-id: trunk@7604 -
2007-06-09 14:24:13 +00:00
Almindor
fa232dd4ac
* make it work on non-unix too...
...
git-svn-id: trunk@7315 -
2007-05-12 10:30:45 +00:00
Almindor
2086107cf3
* fix missing socketerror discrepancy
...
git-svn-id: trunk@7314 -
2007-05-12 10:24:58 +00:00
daniel
e47681ab0d
* Remove reming usage of errno.
...
git-svn-id: trunk@5981 -
2007-01-14 21:50:24 +00:00
daniel
e6438fe23d
* Make error constants cross platform.
...
git-svn-id: trunk@5977 -
2007-01-14 21:22:47 +00:00
daniel
1c452dd4f9
+ Restore and fix text/file socket functionality.
...
git-svn-id: trunk@5973 -
2007-01-14 18:50:19 +00:00
Almindor
62e276d064
* remove text and file based socket conversions and operations from sockets
...
git-svn-id: trunk@5955 -
2007-01-13 22:21:38 +00:00
peter
c606162d3d
* revert fpread to fdread fix, rename fdread in non-unix to fpread
...
git-svn-id: trunk@5108 -
2006-10-31 07:36:13 +00:00
peter
070606c267
* non-unix uses fdread/fdwrite
...
git-svn-id: trunk@5107 -
2006-10-31 07:30:08 +00:00
marco
b5e0fa43ce
* post 2.0 simplification, win32 now also has fpread/write
...
git-svn-id: trunk@4920 -
2006-10-15 12:29:22 +00:00
florian
bb9629decc
* fixed broken sockets.inc
...
git-svn-id: trunk@940 -
2005-08-25 11:22:20 +00:00
florian
e43248f339
+ StrToNetAddr6 and StrToHostAddr6 from Johann Glaser
...
git-svn-id: trunk@939 -
2005-08-24 20:34:53 +00:00
florian
e686da2026
* fixed and removed some missing HASINLINE directives, needs more work
...
git-svn-id: trunk@637 -
2005-07-17 08:21:17 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Jonas Maebe
2426ecafc3
* fixed several warnings and notes about unused variables (mainly) or
...
uninitialised use of variables/function results (a few)
2005-03-25 22:53:39 +00:00
marco
31f010aa69
* cosmetic fix in netaddrtostr
2005-03-18 10:04:31 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
marco
7e9faf970a
* More htons like functionality. IPV6 string support still missing
2005-02-13 19:59:57 +00:00
peter
b2d63683ec
* disable inline for 1.9.4
2004-11-01 19:39:19 +00:00
marco
0624b9fa92
* inline problems fixed
2004-11-01 17:29:47 +00:00
marco
34282c6cf9
* htons etc
2004-11-01 16:23:15 +00:00
michael
20c89903ec
+ Changed mode to output for file sockets
2003-11-23 10:57:15 +00:00
marco
8f31a9a9c8
* johill changed his mind
2003-11-22 21:58:09 +00:00
marco
867e44861a
fix for last one
2003-11-22 10:59:58 +00:00
marco
7ac67b2caf
fix from johill for 2801
2003-11-22 10:33:38 +00:00
marco
4df9146d01
fix from johill
2003-11-22 10:32:41 +00:00
marco
0059098949
* fixed typo
2003-09-15 07:55:29 +00:00
marco
dc9558393f
* fix
2003-09-15 07:51:09 +00:00
marco
7efaf7dee2
* Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
2003-09-14 20:15:01 +00:00
peter
01dfac4a4e
* old logs removed and tabs fixed
2002-09-07 15:06:34 +00:00
michael
650fbb86aa
+ removed logs
2000-07-13 11:32:24 +00:00
michael
e7aca136a1
+ Initial import
2000-07-13 06:29:38 +00:00
pierre
9fd7ba963e
* no bufpos reset on flush for fminput
2000-06-21 22:27:50 +00:00
Jonas Maebe
d75d13eda1
* CloseSock is now a dummy (it called system.close, but this doesn't
...
make any sense since itself can only be called by system.close) This
caused an endless loop with my last changes where the mode of a
textrec is set to fmClosed only after the closeFunc() has been called.
2000-05-22 12:38:51 +00:00
peter
6b66a55cd6
* truncated log
2000-02-09 16:59:28 +00:00
daniel
ec29a31834
* copyright 2000
2000-01-07 16:41:28 +00:00
daniel
a79b4a404b
* copyright 2000 added
2000-01-07 16:32:21 +00:00
michael
06c7d3233f
+ Fixed Connect call
1999-07-03 15:16:45 +00:00
florian
46b98b77f1
+ files created by splitting the linux sockets unit
1999-06-21 12:26:27 +00:00