I am recently learning socket programming. your code will greatly help to better understand it
. what will be our main file to execute your code to work it accordingly your explanation? I made "socket.cpp" as my main file but unfortunately program crashed after taking input(username,password, ip address and port number) without any exception.
i am grateful for urgent help.