Search Results

Search: Posts Made By: italian_boy
Forum: Programming 03-27-2010
4,658
Posted By italian_boy
Mmm very good idea!! I'll try it ;-)!
Mmm very good idea!! I'll try it ;-)!
Forum: Programming 03-25-2010
4,658
Posted By italian_boy
Thank you Corona! But it's a little bit...
Thank you Corona! But it's a little bit difficoult then the other!I'll try it but I think I'll use the other... ;)
Forum: Programming 03-25-2010
3,099
Posted By italian_boy
Yes there is the main in which server accept a...
Yes there is the main in which server accept a client and then call the thread to manage the client's request! It 's done for all clients that connects to the server! First the server accepts and...
Forum: Programming 03-25-2010
3,099
Posted By italian_boy
Semaphore
In my server code there is a thread per client...
The server call accept() and after that start the thread.
So there is a thread for client that save in RAM the client's message, that will be send...
Forum: Programming 03-24-2010
4,658
Posted By italian_boy
Thank you very much! Here is the exactly code...
Thank you very much!
Here is the exactly code to read whitespaces too:


puts("insert text ");
while(getchar()!=(int)'\n');
scanf("%[^\t\n]",test);
...
Forum: Programming 03-24-2010
4,658
Posted By italian_boy
Better than scanf
I don't know how to do this:


printf("creazione nuovo messaggio\n");
printf("insert dest\n");
scanf("%s",dest);
printf("insert object\n");
...
Forum: Programming 03-23-2010
14,017
Posted By italian_boy
Loic thank you very much!!Now it's perfetc!! ;-)!
Loic thank you very much!!Now it's perfetc!! ;-)!
Forum: Programming 03-22-2010
14,017
Posted By italian_boy
Reliable management of signal SIGPIPE and SIGTERM
I' m note very expert in the reliable manage of signal... but in my server I must manage SIGPIPE for the socket and SIGTERM...
I've wrote this but there is something wrong... Can someone explain me...
Forum: Programming 03-21-2010
2,644
Posted By italian_boy
Sorry Corona, where is the manuale you suggested...
Sorry Corona, where is the manuale you suggested to me??

---------- Post updated at 09:16 AM ---------- Previous update was at 09:12 AM ----------

Sorry jim, I've read now your response!! Thank...
Forum: Programming 03-21-2010
2,644
Posted By italian_boy
Corona688, sorry, but where can I find the maual...
Corona688, sorry, but where can I find the maual pages that you suggested me???
Forum: Programming 03-20-2010
2,644
Posted By italian_boy
Ok, first I must read a lot of slide in which...
Ok, first I must read a lot of slide in which there is I/O file, after that I'll start to write code!;-)
Forum: Programming 03-19-2010
2,644
Posted By italian_boy
I/O on File
Hello everybody... In my client - server application I decided to save user name and password in a file by the system call creat(), write().
recv(i,buf,sizeof(buf),0);
...
Forum: Programming 03-18-2010
4,513
Posted By italian_boy
Sorry but if I must divide 1 string into three...
Sorry but if I must divide 1 string into three string with strtok()???
Like in this example:

Destination/Object/Text/

Destination
Object
Text

Thank everybody!

---------- Post updated...
Forum: Programming 03-17-2010
4,604
Posted By italian_boy
Thank you very much... I think I know the problem...
Thank you very much... I think I know the problem now!! I'm starting to attempt!!
Forum: Programming 03-17-2010
4,604
Posted By italian_boy
stack smashing detected
Like you can see in the title this is my problem! Here is what appears in the terminal
:confused::confused::confused:
*** stack smashing detected ***: ./a.out terminated
======= Backtrace:...
Forum: Programming 03-16-2010
4,513
Posted By italian_boy
It workssssssssss! Thank you very very very...
It workssssssssss! Thank you very very very much!!!!!:b::b::)
Forum: Programming 03-16-2010
4,513
Posted By italian_boy
divide one string into two string [c or c++, better in c]
Hello everybody... I'm new in this forum , and sorry if my english isn't very good!
I must create a client server application... and my problem is:
when the client connects to the server the first...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 08:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy