[Gambas-user] Network Component Problem

Ronan Chilvers ronan at ...384...
Fri Apr 16 09:53:26 CEST 2004


Hi Dmitri

--------- Original Message --------
<snip>
> "Null Object" in this line
> Server.Type=Net.Internet
> The Code:
> -----
> '-------------- Network Server
> PRIVATE Server AS ServerSocket
> PRIVATE Client AS Object[]
> PRIVATE Waiting AS Boolean
> ......
> PUBLIC SUB Button1_Click()
>   
</snip>

I think you need something like

Server = NEW ServerSocket as "Server"

in here, at the start of the Button1_Click 
sub...

<snip>
>   IF combobox2.Index=0 THEN
>     'TCP
>     Server.Type=Net.Internet
....
</snip>
________________________________________________
Message sent using UebiMiau 2.7.8






More information about the User mailing list