* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
General / Re: can i make server?
« Last post by shs on Today at 03:22:36 pm »
i will send you my external ip and port is 1500
2
General / Re: can i make server?
« Last post by rvk on Today at 03:20:41 pm »
so when i connect the server i just put 0.0.0.0 for ip and nothing for port?
No, you also need to specify a port.

Here is a list often used by other programs:
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
For example port 80 is usually used for web HTTP
443 is for HTTPS
You could pick any port above 1024.
For instance 44444. Or any other port.
But you and all your clients need to use that port from then on.
3
General / Re: can i make server?
« Last post by shs on Today at 03:17:07 pm »
so when i connect the server i just put 0.0.0.0 for ip and nothing for port?
4
General / Re: can i make server?
« Last post by rvk on Today at 03:14:54 pm »
is it hard to forward the port?
Depends on your router. But you need to do it manually.
And you need to know your internal IP and what port you want to forward.
https://portforward.com
5
General / Re: can i make server?
« Last post by shs on Today at 03:13:32 pm »
is it hard to forward the port?
6
General / Re: findallfiles hangs
« Last post by hakelm on Today at 03:11:08 pm »
Thanks,
seems to do the trick.
H
7
General / Re: can i make server?
« Last post by rvk on Today at 03:07:59 pm »
btw i created timer 2 before because i thought it would be better to do timer than doing repeat loop in the button click but i forgot to ask you about this because i did this while you were sleeping. is it better to use timer or is it okay with the repeat loop
Yes, you could use timer2 to check for incoming connections.
I think (hope) the delay the timer has, is short enough for the server to respond to the incoming connection.

Quote
also is it possible for you to connect my server right now?
That's only possible if you forwarded the used port on your router and you supply your external IP adres.
And in that case you shouldn't bind to 127.0.0.1 on the server but to 0.0.0.0 (which is all network interfaces automatically, local computer 127.0.0.1 and any internal IP).
8
General / Re: can i make server?
« Last post by shs on Today at 03:01:57 pm »
wow it works i don't know why it didn't work on mine
i just checked my code with yours and it's exactly same

btw i created timer 2 before because i thought it would be better to do timer than doing repeat loop in the button click but i forgot to ask you about this because i did this while you were sleeping.
is it better to use timer or is it okay with the repeat loop

also is it possible for you to connect my server right now?
9
General / Re: can i make server?
« Last post by rvk on Today at 02:49:05 pm »
They shouldn't be much different because I took your source.
But since you didn't include the form itself I did need to comment out timer2 which we didn't discuss at all so I'm not sure why you have it in your source.

See attached.
10
General / Re: can i make server?
« Last post by shs on Today at 02:46:08 pm »
version 1607 (OS Build 14393.1770)
and no no firewall

can you give me your server and client projects? i just want to see if mine's bit different to yours
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus