Pseudocode correctness

Hi,
I am new in socket programming so
could someone please tell me if there is something wrong with the c style pseudocode below? , and what I can do to improve it.
Thank you in advance.

PSEUDOCODE
main()
{
socket local = socket(AF_INET, SOCK_STREAM);
local.bind("localhost",53);
local.listen();
socket remote = local.accept();
char* data;
remote.recv(data, 1024);
int value = *(int*)data;
printf("Server received integer: %i", value);
remote.close();
local.close();
}
[592 byte] By [DaedalusEH] at [2007-11-20 11:50:32]