I'm trying to create a simple test server in linux (which I basically just copied from an example to see how it works). However, early on in the program when socket(PF_INET, SOCK_STREAM, IPPROTO_TPC) is called, the program hangs. It compiles fine, and gdb doesn't show any of my variables being out of whack. Could it be an environment issue? I can't seem to figure this out, so any help would be appreciated.
The source code up to that point is mostly just the assignment of some ints and some char*s and the calling of main(), but I'll post the source if needed.
Thanks for your time
-Guest42
The source code up to that point is mostly just the assignment of some ints and some char*s and the calling of main(), but I'll post the source if needed.
Thanks for your time
-Guest42