Hi naser al rashedi, Your client/server program(s) seem straightforward enough. So... what's the problem that you are having with your simple TCP client/server program(s)? Is GCC producing an error that you don't understand? --Eljay