Sign in to follow this  
silverphyre673

I just finished converting the hobbit's netcat to ansi C!

Recommended Posts

Yay! I just spent the last two hours converting the hobbit's netcat from ancient horrible ugly poop to horrible ugly ANSI-COMPLIANT C!!! It is really, truely, ugly, and it will take me days to make it legible. Ah well. Just thought I would announce it.

Share this post


Link to post
Share on other sites
I don't suppose you'd be interested in making what you currently have available so that the rest of us can take a stab at it? :)

Share this post


Link to post
Share on other sites
Quote:
Original post by anonuser
How is WinSock(2) ANSI?

By having its declarations #included and called in an ANSI-compliant manner, perhaps?

Share this post


Link to post
Share on other sites
Well networking was the aspect i was thinking of not being ANSI compatible. Considering its really an OS specfic thing.

*nix do the BSD socket thing. While windows clones some of it (think windows select) and has its own WS* routines for data as well as familar system calls like recv asnd write.

Share this post


Link to post
Share on other sites
I was simply talking about it being compile-able with a modern compiler. Not referring to winsock or anything like that.

I'm trying to work up the courage to go through and fix things. Wish me luck!

(Yuck: it even has goto statements!)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this