tcp « IP « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » IP » tcp 

1. HP PCL via TCP/IP    stackoverflow.com

Where can I find an example program in C to print to a network attached HP printer.

2. Handshake with spoofed IP    stackoverflow.com

I noticed some legit connection is like this:

6221 29.880628 5.4.3.2   1.2.3.4 TCP 61235 > cbt [SYN] Seq=0 Win=8192 Len=0 MSS=1452 SACK_PERM=1
6222 29.880646 1.2.3.4  5.4.3.2 TCP cbt > 61235 ...

3. How to check for availability of an IP    stackoverflow.com

I wish to keep polling a server, and switch to this server(sending data to this server over TCP/IP) when it becomes available. Any suggestion to do this in C. Thanks,

4. Help me understand this TCP/IP code snippet    stackoverflow.com

I am reading the book "TCP/IP Lean" and I came across the following code which i do not understand. Could anyone explain it to me?

WORD buff_in(CBUFF *bp, BYTE *data, WORD len)
{
 ...

5. Interview question on Tcp/ip    bytes.com

HI to all, Please answer this question 1) If we want to send a 10mb file from system1to system2 through Ethernet how the 10mb transfer take place through Tcp and udp A few questions of mine 1) where fragmentation will take place will it in ip layer or in tcp or in both 2)since fragmentation fields are there in ip, if ...

6. TCP IP programming under DOS with C    bytes.com

Hi Y'All... I really need your help!! I've used this groups to learn and get me out of troubles but this is my first time writing a subject. My problem is that I need to make a C program that run in DOS and comunicates to another program made in VB.Net 2005. I used Borland C++ 5.02 but Im not even ...

7. tcp/ip chat    cboard.cprogramming.com

8. message passing using tcp/ip    cboard.cprogramming.com

9. Programming TCP\IP in C    cboard.cprogramming.com

10. TCP/IP Programming Libraries?    forums.devshed.com

Of course there is, how do you think network applications are written!? Platform? Language? The most ubiquitous networking API is probably BSD sockets. If you are using Linux for example you already have that - it is the OS networking API. On Windows the low level networking API is Windows Sockets (or Winsock), which is very similar to BSD sockets. There ...

11. TCP/IP C Programming    forums.devshed.com

My sockets programming site so far is mainly background information, but I haven't gotten to the how-to part yet. You would probably want to read over it if you're not familiar with TCP/IP, IP addressing, and ports. http://members.aol.com/DSC30574/sockets/index.html Check the web-sites section of my resources page at http://members.aol.com/DSC30574/soc....html#WEB_SITES . A very good choice to start with would be "Beej's Guide to ...

12. TCP/IP programming    forums.devshed.com

13. TCP/IP programming    forums.devshed.com

For what OS? Both Windows and Linux can use BSD sockets, but Windows requires Winsock support for which a few lines of code need to be added. I compile my Winsock programs with either Visual C++ 6 or with the MinGW port of gcc (obtained through Dev-C++). In both cases, I need to include the wsock32 library. Of course, on Linux ...

14. TCP/IP timeout    daniweb.com

#include #include #pragma comment(lib,"user32.lib"); #include #include #include"tcpip.h" /*Function definitions for communication over TCPIP*/ /*Parameters for TCP/IP Communication*/ WSADATA wsaData; WORD version; int error = 0; SOCKET server_addr; SOCKET client_addr; struct sockaddr_in Start_Server; int length = 0; char tcp_ip_recv[20]; char *at_mmi_command; /*Function initializes winsock*/ int Ta_Ut_tcpip_winsock_init() { version = MAKEWORD( 2, 0 ); /*initiate use of the Winsock DLL by a process*/ ...

15. communication on TCP/IP    daniweb.com

Samples C++ Code to do SMTP From a Win32 Console #include #include #include //#include #include #include //using namespace std; #define MAX_LENGTH 1024 #pragma argsused char *fgets(char *line, int maxline, FILE *fp); int fputs(char *line, FILE *fp); int getline(char *line, int max); void main() { int s_len, r_len; int skt_Smtp; int success; struct sockaddr_in st_Sockaddr; char ...

16. Ultimate TCP/IP    codeproject.com

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.