Changeset 24


Ignore:
Timestamp:
Nov 28, 2006, 1:05:01 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

Add endian conversion functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_winsock2.sbp

    r1 r24  
    238238Const INADDR_ANY = &h0
    239239
     240Declare Function htons Lib "ws2_32.dll" (netshort As Word) As Word
     241Declare Function htonl Lib "ws2_32.dll" (netshort As DWord)  As DWord
     242Declare Function ntohs Lib "ws2_32.dll" (netshort As Word) As Word
     243Declare Function ntohl Lib "ws2_32.dll" (netshort As DWord)  As DWord
    240244
    241245#endif '_INC_WINSOCK2
Note: See TracChangeset for help on using the changeset viewer.