Re: [CODE] Socket Problems

From: Jason Wilkins (fenix@IO.COM)
Date: 11/04/98


On Tue, 3 Nov 1998, Jourge Fuzz Bush wrote:

> I am trying to connect to port 25. and send string 1 -6.

Use the host to network function "hton" to make sure that the port number
has the proper endianess, this was my problem when I first made my
smplnet library.

--
         The Phoenix - President of The Artistic Intuition Company
    Caelius * Zen-X * Mirror Reflex * Runica * X-Domain * Infinite Realms
                          http://www.io.com/~fenix


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST