hello ,
i am trying to implement ftp protoco using javal. but when i read the protocol description ,i didnt get how i should have 2 ports
does that mean having 2 server sockets , each one with different port
or having only 1 server socket but 2 sockets for the client
one for example is called connection socket and the other data socket but if so , does that mean that i can not use the connection socket for any data transfer even if it is just one line that i need to print ( not a file to send)
actually am somehow confused..
hope somebody can help me
Thanks in advance
i am trying to implement ftp protoco using javal. but when i read the protocol description ,i didnt get how i should have 2 ports
does that mean having 2 server sockets , each one with different port
or having only 1 server socket but 2 sockets for the client
one for example is called connection socket and the other data socket but if so , does that mean that i can not use the connection socket for any data transfer even if it is just one line that i need to print ( not a file to send)
actually am somehow confused..
hope somebody can help me
Thanks in advance