Click here to Skip to main content
15,890,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: Toolbar button circumvents textbox validation? Pin
Wjousts25-Sep-03 13:34
Wjousts25-Sep-03 13:34 
GeneralRe: Toolbar button circumvents textbox validation? Pin
James T. Johnson25-Sep-03 17:29
James T. Johnson25-Sep-03 17:29 
GeneralRe: Toolbar button circumvents textbox validation? Pin
Wjousts26-Sep-03 4:31
Wjousts26-Sep-03 4:31 
GeneralCreating a Wizard Type Application Pin
Mark Sanders25-Sep-03 9:53
Mark Sanders25-Sep-03 9:53 
GeneralRe: Creating a Wizard Type Application Pin
Wjousts25-Sep-03 13:21
Wjousts25-Sep-03 13:21 
GeneralRe: Creating a Wizard Type Application Pin
Azel Low27-Sep-03 6:15
Azel Low27-Sep-03 6:15 
GeneralProblems in VS .NET 2003 Pin
abbomar25-Sep-03 9:24
abbomar25-Sep-03 9:24 
Generalre: socket connection to a url Pin
mikemilano25-Sep-03 8:23
mikemilano25-Sep-03 8:23 
i have been trying to figure out a way to send this xml data to ups for rate quotes.

the goal here is to connect to this url, and send data. then receive the data it sends back.

i get an exception because i'm trying to connect to a url ( and subdirectories ) instead of an IP.

how do i connect to this url and send the data to the appropriate place?

here is an example of what i'm attempting:
TcpClient tc=new TcpClient("https://www.ups.com/ups.app/xml/Rate");

NetworkStream ns=tc.GetStream();
StreamWriter sw=new StreamWriter(ns);

sw.WriteLine(xml);
sw.Flush();

StreamReader sr=new StreamReader(ns);
txtResponse.Text = sr.ReadLine();

GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 8:34
devvvy25-Sep-03 8:34 
GeneralRe: re: socket connection to a url Pin
mikemilano25-Sep-03 8:40
mikemilano25-Sep-03 8:40 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 8:43
devvvy25-Sep-03 8:43 
GeneralRe: re: socket connection to a url Pin
mikemilano25-Sep-03 9:04
mikemilano25-Sep-03 9:04 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 9:16
devvvy25-Sep-03 9:16 
GeneralRe: re: socket connection to a url Pin
mikemilano25-Sep-03 9:21
mikemilano25-Sep-03 9:21 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 9:30
devvvy25-Sep-03 9:30 
GeneralRe: re: socket connection to a url Pin
Blake Coverett25-Sep-03 20:49
Blake Coverett25-Sep-03 20:49 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 23:24
devvvy25-Sep-03 23:24 
GeneralRe: re: socket connection to a url Pin
Blake Coverett25-Sep-03 20:57
Blake Coverett25-Sep-03 20:57 
GeneralWindows Form DataGrid paging Pin
devvvy25-Sep-03 8:10
devvvy25-Sep-03 8:10 
GeneralInterops and Strong Names Pin
je_gonzalez25-Sep-03 7:55
je_gonzalez25-Sep-03 7:55 
GeneralRe: Interops and Strong Names Pin
James T. Johnson25-Sep-03 8:47
James T. Johnson25-Sep-03 8:47 
GeneralRe: Interops and Strong Names Pin
je_gonzalez25-Sep-03 8:53
je_gonzalez25-Sep-03 8:53 
QuestionHow to execute UNIX commands in C# Pin
Buckin25-Sep-03 6:33
Buckin25-Sep-03 6:33 
AnswerRe: How to execute UNIX commands in C# Pin
Anonymous25-Sep-03 17:41
Anonymous25-Sep-03 17:41 
GeneralRe: How to execute UNIX commands in C# Pin
Buckin25-Sep-03 17:56
Buckin25-Sep-03 17: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.