Results 1 to 10 of 16

Thread: Delphi-Heretic

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11

    Delphi-Heretic

    I use WinSock.pas unit and tried using UDP. After a lot of of experiments using 2 computers connected in LAN running simultaneously DelphiHeretic(and DelphiDoom) I'm managed to send packets (PacketSend procedure in i_net.pas works) but could not receive none of them (procedure PacketGet in i_net.pas does not work, recvfrom() function returns error = WSAEWOULDBLOCK). I'm tottally unexperienced in network programming, and I don't even know what does that error mean, sorry. Maybe I 'll make a post in Help me! section of forums, but I don't even describe clearly the problem. The only hope is that someone checks the i_net.pas and rewrite it.

    To debug a network game you must run DelphiHeretic with theese parameters (in 2 seperate computers):

    heretic32.exe -net 1 addr2 -players 2
    heretic32.exe -net 2 addr1 -players 2

    where addr1/addr2 is the computer name or IP address of the computer you want to comunicate.
    Last edited by Jimmy Valavanis; 30-03-2012 at 04:47 PM.

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
  •