Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 10 of 10
Search took 0.00 seconds; generated 2 minute(s) ago.
Search: Posts Made By: shoeyfighter
Forum: C Nov 3rd, 2006, 11:42 PM
Replies: 14
Views: 367
Posted By shoeyfighter
Arrow Hmm, I'm not sure I understand what you...

Hmm, I'm not sure I understand what you mean.

This whole thing is for a networking class I am taking, and I have never used C before. Basically, the txt_list struct represents a packet that the...
Forum: C Nov 3rd, 2006, 11:02 PM
Replies: 14
Views: 367
Posted By shoeyfighter
Nope, can't change the structs at all.

Nope, can't change the structs at all.
Forum: C Nov 3rd, 2006, 9:07 PM
Replies: 14
Views: 367
Posted By shoeyfighter
Well, yeah. I guess I forgot to say that I cannot...

Well, yeah. I guess I forgot to say that I cannot change the structs.
Forum: C Nov 3rd, 2006, 7:13 PM
Replies: 14
Views: 367
Posted By shoeyfighter
Question How to create struct containing variable array struct

Hello. I have this code:


#define packed __attribute__((packed))

#define CHANNEL_MAX 32


/* This is a substructure used by struct text_list. */
struct channel_info {
Forum: C Nov 2nd, 2006, 2:13 PM
Replies: 3
Views: 277
Posted By shoeyfighter
Thumbs up Ah, thanks for the suggesstion. It required a...

Ah, thanks for the suggesstion.

It required a little more fiddling than JUST that, but it got me on the right track.

Thanks.
Forum: C Nov 2nd, 2006, 3:16 AM
Replies: 3
Views: 277
Posted By shoeyfighter
Arrow Reading character input into an array (raw mode)

Hello. I am having an issue with a program I am creating. Basically, it is a simply UDP chat client/server, that reads input from stdin in raw mode.

My issue is that I need to keep track of what has...
Forum: C Oct 27th, 2006, 3:59 PM
Replies: 6
Views: 203
Posted By shoeyfighter
FINALLY! I got something that works. Thanks for...

FINALLY! I got something that works. Thanks for all of your input. Your reply with the new data type looking at the data in the socket (so the socket gets looked at two times) was the...
Forum: C Oct 27th, 2006, 3:46 PM
Replies: 6
Views: 203
Posted By shoeyfighter
Well, I have: #define MAXBUFLEN 100 If it...

Well, I have:

#define MAXBUFLEN 100



If it helps, when I run my code the client says that it sent 36 bytes, and the server says it receives 36 bytes.

Further, I tried your way, and the program...
Forum: C Oct 27th, 2006, 4:12 AM
Replies: 6
Views: 203
Posted By shoeyfighter
I should have included it... Sorry about...

I should have included it... Sorry about that.

No, it is not a pointer (? I think? I am still confused a little between & and *), it is the contents of buf. Hope this makes it more clear.


struct...
Forum: C Oct 27th, 2006, 1:11 AM
Replies: 6
Views: 203
Posted By shoeyfighter
Casting a struct to s aimilar struct

Hello. I have a problem with a chat program I need to make for a class, using C of course. I have never really used C, so I am having TONS of problems.

Anyway, here is the latest. Basically, the...
Showing results 1 to 10 of 10

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:45 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC