Bryce Boe

The Adventures of a UCSB Computer Science Ph.D. Student

Skip to: Content | Sidebar | Footer

Tag: C

Telnet-like client

22 September, 2007 (10:17) | Uncategorized | By: Bryce Boe

Using the methods I discussed previously I wrote a telnet-like client which can be used to communicate with any type of text based server such as mail and web servers. The following isn’t 100% perfect as it doesn’t handle early returns from send as I wasn’t able to properly test this behavior.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#include <stdio.h> // perror,printf
#include <stdlib.h> // [...]

Signal Handling and Select in C

2 September, 2007 (18:26) | Uncategorized | By: Bryce Boe

Two weeks ago I started a journey to read a textbook cover to cover so that I’ll be ready for the research I will be assisting with. Since I have yet to take a networking class I am a bit behind where I need to be, but that’s not a problem as I learn rather [...]