Modify ↓
#569 closed Bug (Fixed)
TCPRecv - SocketToIp() function in Helpfile example has incorrect DllCall()
| Reported by: | wraithdu | Owned by: | Jpm |
|---|---|---|---|
| Milestone: | 3.2.13.8 | Component: | Documentation |
| Version: | 3.2.13.7 | Severity: | None |
| Keywords: | SocketToIP Socket IP | Cc: |
Description
The first DllCall() in this function should be -
$aRet = DllCall("Ws2_32.dll", "int", "getpeername", "int", $SHOCKET, _
"ptr", DllStructGetPtr($sockaddr), "int*", DllStructGetSize($sockaddr))
The parameter type for the name member size was incorrect, and should be an int*.
Attachments (0)
Change History (3)
comment:1 by , on Sep 11, 2008 at 6:02:31 AM
| Owner: | set to |
|---|---|
| Status: | new → assigned |
| Summary: | SocketToIp() function in Helpfile has incorrect DllCall() → _SocketToIp() function in Helpfile has incorrect DllCall() |
comment:2 by , on Sep 11, 2008 at 11:18:58 AM
| Owner: | changed from to |
|---|---|
| Summary: | _SocketToIp() function in Helpfile has incorrect DllCall() → TCPRecv - SocketToIp() function in Helpfile example has incorrect DllCall() |
comment:3 by , on Sep 11, 2008 at 6:18:09 PM
| Milestone: | → 3.2.13.8 |
|---|---|
| Resolution: | → Fixed |
| Status: | assigned → closed |
Fixed in version: 3.2.13.8
Note:
See TracTickets
for help on using tickets.

Liked to never found where this was being it wasn't stated where in the help file the function was located. The function is part of the TCPRecv example.