|
|
|
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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.06.2006, 16:47 |
|
||
|
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? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.06.2006, 00:24 |
|
||
|
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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2006, 16:57 |
|
||
|
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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.06.2006, 23:44 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=33812676&tid=2030926]: |
0ms |
get settings: |
8ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
231ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 225ms |
| total: | 538ms |

| 0 / 0 |
