Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: fatboysudsy
Forum: C May 7th, 2007
Replies: 6
Views: 1,315
Posted By fatboysudsy
Ok,

I have used fgets, and managed to read all the parts of my file, 3 lines. When i print it out they are all there. I then send it over to my server program and low and behold i have only 1...
Forum: C May 7th, 2007
Replies: 6
Views: 1,315
Posted By fatboysudsy
hi not sure of this api business, but i am using a stream socket, writing it in C and using putty(ssh) to connect to a linux machine at uni.
Forum: C May 7th, 2007
Replies: 6
Views: 1,315
Posted By fatboysudsy
Hi,

Thanks i have have got that bit sorted now.

if i decline the authorisation i want to close the connection, how do i do this ?

this is what i have written, when i enter incorrect...
Forum: C May 6th, 2007
Replies: 6
Views: 1,315
Posted By fatboysudsy
Hi there,

here is a copy of my server program. It worked this morning but has now decided to stop and i am after some help with it please.

It stops half way through the authentication(), it...
Forum: C++ Apr 24th, 2007
Replies: 5
Solved: first array bit
Views: 1,443
Posted By fatboysudsy
Ok here goes,

the returning message will have for example the letter 'Q' as it's first byte.

That will tell me how to get to the correct part of the program.

i will then have two further...
Forum: C++ Apr 24th, 2007
Replies: 5
Solved: first array bit
Views: 1,443
Posted By fatboysudsy
Hi dragon,

"Just make the menu option the first character of the string that the client sends to the server"


Thats the bit i don't know how to do.

Also when reading at the other end, i...
Forum: C++ Apr 23rd, 2007
Replies: 5
Solved: first array bit
Views: 1,443
Posted By fatboysudsy
hi there,

i am trying to make a client/server program for my project.
i have created a menu that gives 3 options which in turn would take you to its corresponding method in my client. the method...
Forum: C Apr 19th, 2007
Replies: 3
Views: 966
Posted By fatboysudsy
hi,

Thanks have done that, think that the ; is a typo error. Now when i compile i get :


gcc -w stream_sockets.o client.c -o client
display_menu
get_selection
get_prog_ch
get_prog_cat
Forum: C Apr 19th, 2007
Replies: 3
Views: 966
Posted By fatboysudsy
Hi all,

Am fairly new to the programming world, but am kind of struggling along. I have written a piece of code for a client program with has given me some errors that i just can't see when...
Forum: C Mar 25th, 2007
Replies: 3
Views: 860
Posted By fatboysudsy
ok cool having looked at that description that does indeed sound like the problem, i am running this on unix by the way. however how do i change the integer into an ascii code ? thats the bit i...
Forum: C Mar 25th, 2007
Replies: 3
Views: 860
Posted By fatboysudsy
hi all,

I have been struggling for a while with my client/server program.
I have to authenticate in order to log on correctly.

I have managed to get most things sorted, asking for username (...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC