Modify

Opened 16 years ago

Closed 16 years ago

#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 Changed 16 years ago by Jpm

  • Owner set to Gary
  • Status changed from new to assigned
  • Summary changed from SocketToIp() function in Helpfile has incorrect DllCall() to _SocketToIp() function in Helpfile has incorrect DllCall()

comment:2 Changed 16 years ago by Gary

  • Owner changed from Gary to Jpm
  • Summary changed from _SocketToIp() function in Helpfile has incorrect DllCall() to 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 Changed 16 years ago by Jpm

  • Milestone set to 3.2.13.8
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed in version: 3.2.13.8

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.