Ignore:
Timestamp:
Dec 16, 2009, 12:46:51 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Načítání XML konfigurace.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DirectWeb/UTCPServer.pas

    r83 r84  
    7979      CreateSocket;
    8080      SetLinger(True, 10);
     81      WriteLn(Address + ':' + IntToStr(Port));
    8182      Bind(Address, IntToStr(Port));
    82       If LastError <> 0 then raise Exception.Create('Socket bind error');
     83      WriteLn(LastError);
     84      if LastError <> 0 then raise Exception.Create('Socket bind error');
    8385      Listen;
    84       If LastError <> 0 then raise Exception.Create('Socket listen error');
     86      if LastError <> 0 then raise Exception.Create('Socket listen error');
    8587      AcceptThread := TAcceptThread.Create(True);
    8688      AcceptThread.Parent := Self;
Note: See TracChangeset for help on using the changeset viewer.