Results 1 to 3 of 3

Thread: ntohs Winsock Function???

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    Lelystad, Netherlands
    Posts
    73

    ntohs Winsock Function???

    Is there any way to use the ntohs function of
    Winsock without using the API???

    John

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    ntohs? What is that? Never heared of it.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    Lelystad, Netherlands
    Posts
    73
    The api Decleration look like:
    Declare Function ntohs Lib "wsock32.dll" (ByVal a As Long) As Integer

    MSDN explenation:
    http://msdn.microsoft.com/library/de...piref_1fxu.asp

    john

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width