News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

IRC get and send file

Started by Farabi, December 13, 2007, 05:43:51 AM

Previous topic - Next topic

Farabi

Hi,
Im making my own irc client. I need information how to send and get a file from irc.

to moderator:
If u think this is break the rule please delete this.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

ragdog

hi Farabi

irc based on winsock so far I understand
try this p2p example tries helps it you much

sry my bad english

greets
ragdog

[attachment deleted by admin]

Tedd

No snowflake in an avalanche feels responsible.

Farabi

Hi,
I have the ip number and I open port 23 from the target computer for the data transfer but it doesnot work. What is wrong?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Tedd

As I'm unable to read your mind, you might want to attach your code.
No snowflake in an avalanche feels responsible.

Farabi

Tedd:
Sure,


invoke fConnect,CADD("125.163.82.140"),23 ;I type the ip manually since this is only a test
.if eax==-1
invoke Sleep,15000
jmp @b
.endif


Error code:
0x274c0010
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Tedd

That's little help to anyone ::)
Attach your WHOLE SOURCE CODE (preferably zip it up and add as a file attachment, rather than posting the whole thing.)

Anyway, you really should read about how dcc works and how to use it (links provided previously).
And when deciding on a port to use, aim for one between 1024--5000, others are reserved for various things -- port 23 is for telnet, dcc is not telnet (or ftp, or any other..)

Read and learn first :P
No snowflake in an avalanche feels responsible.