
December 29, 2007 03:03 by
POP3サーバからメールを取り出すプログラムを構成します。
POP3サーバとTCPコネクションを確立し、POP3サーバからの肯定的な返答「+OK」を確認します。
続いて、USERコマンド、PASSコマンドを使って、POP3サーバに認証情報を送ります。
RETRコマンドを使って、メールを取り出します。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

December 29, 2007 01:27 by
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <fcntl.h>
#define SERV_TCP_PORT 8080
#define BUFSIZE 3...
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

November 9, 2007 04:17 by
チキチキ勉強し始めたC言語のためのメモ
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

November 1, 2007 23:10 by
C言語による、Socket間通信は、下記のような手順になります。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 27, 2007 13:32 by
stdio.h
printf
fprintf
sprintf
vprintf
vfprintf
vsprintf
scanf
fscanf
sscanf
puts
fputs
gets
fgets
putchar
getchar
fputc
putc
fgetc
getc
ungetc
fopen
freopen
fclose
fread
fwrite
fseek
ftell
rewind
fgetpos
fsetpos
fflush
remove
renam...
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 21, 2007 17:21 by
[How To] [c言語]ネットワークプログラミング: メール受信POP3クライアント
POP3クライアントの構成
POP3サーバからメールを取り出すプログラムを構成します。
POP3サーバとTCPコネクションを確立し、POP3サーバからの肯定的な返答「+OK」を確認します。
続いて、USERコマンド、PASSコマンドを使って、POP3サーバに認証情報を送ります。
RETRコマンドを使って、メールを取り出します。
POP3クライアントプログラム(C言語/簡易)
POPClient.c
#include <stdio.h...
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

September 6, 2007 01:08 by
自作HTTPサーバがうまく進行せずに、それどころじゃなかったのと、K1を見たり映画を見たり。
ファイルからログを取り出して、CSV形式なら分割してメモリに配置する処理がうまくいかず、ずっと悩んでいましたね。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5