I added the "keep-alive-line", but it doesn't work.

Originally Posted By: genius_at_work
The correct address is signin.ebay.de

-genius_at_work


Mh, no. frown When I connect to signin.ebay.de, I cannot open a socket (no answer)...


Code:
alias mt2_ebaylogin {
  .timersockclose_mt2_ebaylogin 1 5 sockclose mt_ebaylogin
  sockclose mt2_ebaylogin
  sockopen -e mt2_ebaylogin ebay.de 443
}

on *:SOCKOPEN:mt2_ebaylogin:{
  echo 4 -s Login... $sockname - $sockerr - $sock($sockname).wserr
  var %user = username
  var %pass = password
  var %form = userid= $+ %user $+ &pass= $+ %pass $+ &login=Sicheres Einloggen
  sockwrite -n $sockname Connection: Keep-Alive
  sockwrite -n $sockname POST /ws/eBayISAPI.dll?SignIn HTTP/1.1
  sockwrite -n $sockname Host: signin.ebay.de
  sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
  sockwrite -n $sockname Content-Length: $len(%form)
  sockwrite -n $sockname %form
  sockwrite -n $sockname $crlf
}
on *:SOCKREAD:mt2_ebaylogin:{
  sockread %mt2_ebaylogin
  echo -sg %mt2_ebaylogin
}