port number
-
hi all please tell me how can i know port number of my system and other system in the network thanks
Err, do you even know what a port is?
Waldermort
-
Err, do you even know what a port is?
Waldermort
-
hi all please tell me how can i know port number of my system and other system in the network thanks
p_ wrote:
please tell me how can i know port number of my system and other system in the network
You mean you want to know 'IP-Address' of your system?
Regards, Vijay. God may not give us what we 'want', but he surely gives us what we 'need'.
-
hi all please tell me how can i know port number of my system and other system in the network thanks
Port number (80=http or ftp=21)or IP of your system ?
-
Port number (80=http or ftp=21)or IP of your system ?
thanks sir i use this code on a button but it did not give any response CAsyncSocket m_sListener, m_sConnected; UpdateData(TRUE); m_sListener.Create(21); if(m_sListener.Listen()==FALSE) { AfxMessageBox("Unable to Listen on that port,please try another port"); m_sListener.Close(); return; } m_sConnected.Create(); m_sConnected.Connect("10.179.22.75",21); if( m_sListener.Listen()== FALSE) { AfxMessageBox("Unable to Listen ,please try another port"); m_sListener.Close(); return; } thanks
-
thanks sir i use this code on a button but it did not give any response CAsyncSocket m_sListener, m_sConnected; UpdateData(TRUE); m_sListener.Create(21); if(m_sListener.Listen()==FALSE) { AfxMessageBox("Unable to Listen on that port,please try another port"); m_sListener.Close(); return; } m_sConnected.Create(); m_sConnected.Connect("10.179.22.75",21); if( m_sListener.Listen()== FALSE) { AfxMessageBox("Unable to Listen ,please try another port"); m_sListener.Close(); return; } thanks
What was return value of Create and Listen if its 0 you got an error and better calling GetLastError for see error.
-
hi all please tell me how can i know port number of my system and other system in the network thanks
-
hi all please tell me how can i know port number of my system and other system in the network thanks
There is no generic answer to your question simply because YOU define the port number. It totally depends of what you are trying to do: if you try to make two of your programs communicate, then you supply the port number on which the server will listen and you use this same port number in your client application. What are you trying to do exactly ? Without knowing that, we cannot help.
Cédric Moonen Software developer
Charting control [v1.2] -
hi all please tell me how can i know port number of my system and other system in the network thanks
-
I think you don't know this. The port element of an internet address associates an IP address with an application. This allows more than one application to use an IP address at the same time on a system. You are responsible for knowing the port numbers used by your applications. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: