Hi list,

Can anybody point me to a similar function in java?
Any help is appreciated! vasile


The ntohs function converts a u_short from TCP/IP network byte order to
host byte order (which is little-endian on Intel processors).


u_short ntohs(
  u_short netshort
);



The htons function converts a u_short from host to TCP/IP network byte
order (which is big-endian).


u_short htons(
  u_short hostshort
);

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to