
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
22.06.2006, 16:47
|
|||
|---|---|---|---|
|
|||
Using TCP Sockets in Borland |
|||
|
#18+
Hey, Quick qestion about converting the default server socket component in Borland C++ Builder 6 into using TCP rather than UDP. It appears that UDP is being used and occassionally packets are recieved out of order so I would prefer that TCP was used instead. Is there any way to easily do this without using a custom component or the Windows API? Thanks, Brian ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
24.06.2006, 00:24
|
|||
|---|---|---|---|
Using TCP Sockets in Borland |
|||
|
#18+
I am not sure if you can use sendto/receivefrom logic in TCP. If you can than you should replace UDP component you are using with TCP. What kind of component for UDP are you using? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
26.06.2006, 16:57
|
|||
|---|---|---|---|
|
|||
Using TCP Sockets in Borland |
|||
|
#18+
I am using the default Client Socket (TClientSocket). I had not heard anything about not being able to use sendto/recievefrom logic with tcp/ip so I will have to look into that too. -Brian ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
28.06.2006, 23:44
|
|||
|---|---|---|---|
Using TCP Sockets in Borland |
|||
|
#18+
I've checked the source in Delphi (that where it originates from). It is not clear to me both from the documentation and from the source but I believe that TClientSocket is a TCP socket. This suggests that you are in TCP connection already. If this is correct then check if your packets are sent in right order. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=57&mobile=1&tid=2030926]: |
0ms |
get settings: |
5ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
32ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
22ms |
get tp. blocked users: |
1ms |
| others: | 199ms |
| total: | 279ms |

| 0 / 0 |
