Click here to Skip to main content
16,011,680 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Very Urgent Pin
N a v a n e e t h6-Mar-07 23:39
N a v a n e e t h6-Mar-07 23:39 
AnswerRe: Very Urgent Pin
Carmine_XX7-Mar-07 10:07
Carmine_XX7-Mar-07 10:07 
GeneralRe: Very Urgent Pin
Carmine_XX7-Mar-07 10:12
Carmine_XX7-Mar-07 10:12 
QuestionTag Values Pin
N a v a n e e t h6-Mar-07 22:01
N a v a n e e t h6-Mar-07 22:01 
AnswerRe: Tag Values Pin
Guffa6-Mar-07 23:35
Guffa6-Mar-07 23:35 
GeneralRe: Tag Values Pin
N a v a n e e t h6-Mar-07 23:46
N a v a n e e t h6-Mar-07 23:46 
AnswerRe: Tag Values Pin
Guffa7-Mar-07 4:12
Guffa7-Mar-07 4:12 
QuestionSending and receiving a byte array to an IP address Pin
Rey99996-Mar-07 21:29
Rey99996-Mar-07 21:29 
Good morning everyone.
I'm developing an application that listens to incoming TCP/IP socket connections from client applications. the client connects to my server and sends an array of bytes. My application receives it, does some calculation on the bytes and resends the modified byte array back to the client. I was pretty new to socket connections, so i thoroughly read the article "Asynchronous socket communication" here on Code Project. I managed to put up this application and it seems to work (i did not have to develop the client, that is made by another programmer).
My problem is that i was recently asked to make this service accessible also on the Internet through a website. I should put up a simple page with a textbox and a button: the user writes a HEX string in the textbox, pushes the button and he's prompted with the result.
As a complete newbie to ASP, i first tried the desperate attempt to do the old "cut&paste": after a small adjustment, the very same code i used for a c# test application (that i used to connect to my server app) compiled under ASP. As i load the page, i can see my server application recognizes and accepts the connection; sometimes i even manage to send the byte array; but nothing is received back. I know it was too much to expect this rough approach to work flawlessly: so i think it's better to write it from scratch. Though, after some unproductive googling, my poor (read: none) knowledge of ASP led me to ask for help here. I know it may be laughably simple for you experts, but i really just need to do this:
- send a byte array to a specified IP address on a specified port;
- keep listening for a similar byte array
- display the received code under the form of a HEX string.
Please note that due to the heavy calculations needed, the server can take up to two-three minutes before sending the answer.
If anyone can help me, or at least can point me out some articles which can enlighten me, i would be very grateful. Thanks in advance, all of you.

~~~ From Milano to The Hague, easy as it goes ~~~

QuestionAdding smilies to a radiobuttonlist in a datagrid Pin
nclauder6-Mar-07 21:02
nclauder6-Mar-07 21:02 
AnswerRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K6-Mar-07 21:44
Harini N K6-Mar-07 21:44 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
nclauder6-Mar-07 22:15
nclauder6-Mar-07 22:15 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K6-Mar-07 22:22
Harini N K6-Mar-07 22:22 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
nclauder6-Mar-07 23:02
nclauder6-Mar-07 23:02 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K6-Mar-07 23:29
Harini N K6-Mar-07 23:29 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
nclauder7-Mar-07 0:07
nclauder7-Mar-07 0:07 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K7-Mar-07 18:57
Harini N K7-Mar-07 18:57 
Questioni urgently need temples for asp based intranet designing Pin
deansys6-Mar-07 21:01
deansys6-Mar-07 21:01 
AnswerRe: i urgently need temples for asp based intranet designing Pin
badgrs6-Mar-07 23:00
badgrs6-Mar-07 23:00 
Questionplease urgently help me with the log on process Pin
deansys6-Mar-07 20:52
deansys6-Mar-07 20:52 
AnswerRe: please urgently help me with the log on process Pin
Naveed Kamboh7-Mar-07 4:51
Naveed Kamboh7-Mar-07 4:51 
QuestionImplement a Custom Membership User Pin
AnhTin6-Mar-07 20:37
AnhTin6-Mar-07 20:37 
AnswerRe: Implement a Custom Membership User Pin
badgrs6-Mar-07 22:59
badgrs6-Mar-07 22:59 
Questioni want open new Content page on the click of gridview row. Pin
Piyush Vardhan Singh6-Mar-07 20:21
Piyush Vardhan Singh6-Mar-07 20:21 
AnswerRe: i want open new Content page on the click of gridview row. Pin
Naveed Kamboh7-Mar-07 1:21
Naveed Kamboh7-Mar-07 1:21 
Questionfile upload problem Pin
kuwl_mark6-Mar-07 19:56
kuwl_mark6-Mar-07 19:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.