Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Dec : ICS : "No port specified + 10022"

www.cryer.info
Managed Newsgroup Archive

ICS : "No port specified + 10022"

Subject:ICS : "No port specified + 10022"
Posted by:"Rusic" (rus..@blank.com)
Date:28 Dec 2005 23:52:38

All the thing i'm doing is :

1. TWSocket.Connect
2. TWSocket.Close
3. TWSocket.Connect // ERROR : No port specified...!! etc.

object WSocket1: TWSocket
    LineMode = False
    LineLimit = 65536
    LineEnd = #13#10
    LineEcho = False
    LineEdit = False
    Addr = '127.0.0.1'
    Port = '7000'
    Proto = 'tcp'
    LocalAddr = '0.0.0.0'
    LocalPort = '0'
    MultiThreaded = False
    MultiCast = False
    MultiCastIpTTL = 1
    ReuseAddr = False
    ComponentOptions = []
    ListenBacklog = 5
    ReqVerLow = 1
    ReqVerHigh = 1
    OnSessionClosed = WSocket1SessionClosed
    OnSessionConnected = WSocket1SessionConnected
    FlushTimeout = 60
    SendFlags = wsSendNormal
    LingerOnOff = wsLingerOn
    LingerTimeout = 0
    SocksLevel = '5'
    SocksAuthentication = socksNoAuthentication
    Left = 112
    Top = 60
  end
  object WSocketServer1: TWSocketServer
    LineMode = False
    LineLimit = 65536
    LineEnd = #13#10
    LineEcho = False
    LineEdit = False
    Addr = '0.0.0.0'
    Port = '7000'
    Proto = 'tcp'
    LocalAddr = '0.0.0.0'
    LocalPort = '0'
    MultiThreaded = False
    MultiCast = False
    MultiCastIpTTL = 1
    ReuseAddr = False
    ComponentOptions = []
    ListenBacklog = 5
    ReqVerLow = 1
    ReqVerHigh = 1
    FlushTimeout = 60
    SendFlags = wsSendNormal
    LingerOnOff = wsLingerOn
    LingerTimeout = 0
    SocksLevel = '5'
    SocksAuthentication = socksNoAuthentication
    MaxClients = 0
    Left = 156
    Top = 60
  end

I'm facing with a similar problem with TWSocketServer

1. TWSocketServer.Listen
2. TWSocketServer.Close
3. TWSocketServer.Listen // ERROR : 10022

I couldn't understand what is the problem with these ICS components.

Replies:

www.cryer.info
Managed Newsgroup Archive