Update main.c

add ip and port in command line