• Advertisement
Sign in to follow this  

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

This topic is 4650 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
nasty C. I mean, really, it just didn't look like anything I'd ever seen. Slowly working through it, renaming things so they make sense and stuff.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement