Results 1 to 10 of 15

Thread: Sockets unit in Lazarus

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    Alright it all seems to make sense now, at least I think it does =) only line that I can't understand is:

    ServerAddr.sin_addr.s_addr := htonl($7F000001);

    I think it has something to do with setting the socket address to localhost.

    I looked up what Winsock, IPv4, and TCP/IP actually mean, that was a learning experience =P now I know a little more about the way networking works. Next step? No idea. Am I excited to find out? Heck yes
    Last edited by NickS; 07-03-2011 at 11:57 AM. Reason: Side note: I want the server and client to be programmed in Windows.

Tags for this Thread

Bookmarks

Posting Permissions

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