Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-27-2006, 02:08 PM   #1
LQ Newbie
Registered: Dec 2006
Distribution: Mandriva 2007
Posts: 2

Rep: Reputation: 0
Question Sending integer from server to client

Hello !

I'em new to the world of linux and C language and i need a simple example. I made a simple server and problem sending string but i dont now how to send Integer. It is silly yes.

Can you give me a simple example whit "send()" and "resv()".

Thank you !

Last edited by Diabolic_Soul; 12-27-2006 at 02:59 PM.
Old 12-27-2006, 06:57 PM   #2
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163

Rep: Reputation: 30
Welcome to LQ!
It's just an idea, but couldn't you send the int as a string using sprintf()?
Old 12-27-2006, 07:16 PM   #3
LQ Newbie
Registered: Dec 2006
Distribution: Mandriva 2007
Posts: 2

Original Poster
Rep: Reputation: 0
I did at alone.......

10x anyway


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lynx browser, alternate mail client for sending comments to website authors SharpyWarpy Linux - Software 2 08-04-2005 11:21 AM
Sending message from server to client paulwong Linux - Networking 6 07-22-2005 10:55 AM
sending Objects from Server to Client djgerbavore Programming 0 10-04-2004 01:09 PM
mod_perl and sending files to the client devinWhalen Linux - Software 0 05-18-2004 12:27 PM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 11:38 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration