fgets() saves the day! I didn't know that gets() took off the \n... woops! Thanks a lot! Works like a charm now!
Type: Posts; User: Achy
fgets() saves the day! I didn't know that gets() took off the \n... woops! Thanks a lot! Works like a charm now!
When I get the successfull respons (upon connecting to the server) Ethereal shows an IRC response as expected. When I send out a message it sends a packet with my string I sent and looks fine, but I...
Just because I never specifically said I searched google doesn't mean I didn't. Of course, that kind of assumption is probably never made by the likes of you.
Besides, that doesn't change the fact...
Thats a good idea. I can telnet fine to the irc server, but it seems like it just isn't leaving my machine from my program. I'll give it a try.
Thanks!
Read this again, maybe you'll realize something:
Taken from my frist post. Or maybe even this:
Hell why not just read the title:
I posted another topic about needing to Multithread, and I got that workin' all fine and dandy, but now it seems that my socket is buggin' out.
Problem:
I'm connecting to an IRC server and trying...
Forums would be so much better if people didn't assume everyone asking a question doesn't know about google.
Do you really think I didn't googled it for an hour? (look at timestamps on posts).
...
Any chance you know a good place to learn about windows multithreading in C?
Thanks.
Multithreading... thats what I needed. I just didn't know the term.
Thanks!
I'm trying to create a crude telnet type program (eventually evolving into an irc client) for windows, in C.
Took me a while, but I got sockets down, but now I'm stuck on the user input aspect. ...
I totally forgot to malloc my buffer >.< that did it. Thanks.
I'm trying to write a program to format a text file and I can't figure out how to write to the file passed in the command line.
Here is what I have tried in pseudocode:
-open the file argv[1] for...
thanks :)
Is there a way to move and delete files in C? In a sense, a way to use the unix commands "mv," and "rm." (I'm programming for and on a unix environment).
Thanks.
At first I thought NO, but now that I think about it, that might be okay. I will ask my professor about it. Technically, finding the string within the line is not the complete purpose of the...
I am trying to program a clone for the Unix command fgrep in C for my CSC class and I am having trouble in this part of my program. It is the part where I search for the specified word in a line...
I'm new to C programming, but not at all new to programming in general. My professor wants me to use scanf() function to read a string of characters into a variable. I missed a day of class and did...