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 J-Paul Mesnage, 17 years ago

Owner: set to Gary
Status: newassigned
Summary: SocketToIp() function in Helpfile has incorrect DllCall()_SocketToIp() function in Helpfile has incorrect DllCall()

comment:2 by Gary, 17 years ago

Owner: changed from Gary to J-Paul Mesnage
Summary: _SocketToIp() function in Helpfile has incorrect DllCall()TCPRecv - SocketToIp() function in Helpfile example has incorrect DllCall()

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.

comment:3 by J-Paul Mesnage, 17 years ago

Milestone: 3.2.13.8
Resolution: Fixed
Status: assignedclosed

Fixed in version: 3.2.13.8

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.