lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getsockname fixes. getXaddr was returning peer addr
[lcore.git]
/
unixstuff.inc
diff --git
a/unixstuff.inc
b/unixstuff.inc
index f5de6d4056b20c14e80d58b2c7c0dbde543f5958..0eb9b3d82d29b9ba7a6a33251cd9da5205716f1b 100755
(executable)
--- a/
unixstuff.inc
+++ b/
unixstuff.inc
@@
-81,7
+81,7
@@
end;
\r
function GetSocketName(Sock: LongInt; var Addr;var Addrlen: LongInt):LongInt;
\r
begin
\r
end;
\r
function GetSocketName(Sock: LongInt; var Addr;var Addrlen: LongInt):LongInt;
\r
begin
\r
- result := fpget
peer
name(sock,@addr,@addrlen);
\r
+ result := fpget
sock
name(sock,@addr,@addrlen);
\r
end;
\r
function Accept(Sock: LongInt; var Addr; var Addrlen: LongInt):LongInt;
\r
begin
\r
end;
\r
function Accept(Sock: LongInt; var Addr; var Addrlen: LongInt):LongInt;
\r
begin
\r