Modify ↓
Opened 17 years ago
Closed 17 years ago
#569 closed Bug (Fixed)
TCPRecv - SocketToIp() function in Helpfile example has incorrect DllCall()
| Reported by: | wraithdu | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| 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 , 17 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
| Summary: | SocketToIp() function in Helpfile has incorrect DllCall() → _SocketToIp() function in Helpfile has incorrect DllCall() |
comment:2 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Summary: | _SocketToIp() function in Helpfile has incorrect DllCall() → TCPRecv - SocketToIp() function in Helpfile example has incorrect DllCall() |
comment:3 by , 17 years ago
| 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.